Skip to content

Midnight Ops preview: new lighting and a dirty, rough look - #314

Merged
ASCoding11 merged 17 commits into
ASCoding11:mainfrom
ngcoding10:war-render
Nov 26, 2026
Merged

ASCoding11 merged 17 commits into
ASCoding11:mainfrom
ngcoding10:war-render

Conversation

@ngcoding10

Copy link
Copy Markdown
Collaborator

No description provided.

…grade, room light, soft smoke)

js/render.js replaces env/post.js for this game on Medium and High: world into a
half-float MSAA target with a depth texture, half-resolution ambient occlusion
applied only to ambient-lit pixels, soft particles in their own pass, the gun
overlay as before, a threshold-free bloom mip chain and one composite (ACES,
split tone, S-curve, lifted blacks, light vignette and grain, FXAA when
upscaling). Shadows every other frame with a wider kernel.

New Night Drop and Boot Camp presets (darker warm ground at night, low fill,
directional overcast), a sky with a glow round the light and cloud relief,
rooms lit through their windows plus a per-room probe, hut rafters, puddles
that mirror lamps, smoke as lit soft quads, no shockwave ring. look-test.html
takes contact sheets of fixed cameras.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DfCR7RPoK1UNAvb7iRuPWn
…Low exposure, night sheen

Window light into rooms raised so the hut floor and walls show where the light
comes in; overcast shade side lifted; Low's exposure boost lowered (1.2 at
night, 1.35 by day); the moon's sheen on damp ground held down at night;
standing water reflects the sky at its own brightness; vignette, grain, bloom
and split tone toned down; grime where occlusion is deep; a ragged dust ring
for blasts; look-test views for doorways and guards at 25 and 30 m, and a
frame-time mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DfCR7RPoK1UNAvb7iRuPWn
… room light, look test)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DfCR7RPoK1UNAvb7iRuPWn
… lamp pools, Low exposure

Boot Camp's sun sits lower in the south-west with a brighter quarter of sky
round it and a lighter shade side; Night Drop's pooled lamp lights are
stronger at night (drawing only; the guards' light test is unchanged); Low's
exposure lift is 1.2 by day and none at night (the moon lit the lane pale).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DfCR7RPoK1UNAvb7iRuPWn
…des were too dark)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DfCR7RPoK1UNAvb7iRuPWn
…visible glow

The key sits about 19 degrees up in the south-west, so it is in view along the
street and the range: a bright patch in the cloud, long soft shadows and a
sheen on wet ground toward it, as in the reference's single low light.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DfCR7RPoK1UNAvb7iRuPWn
…vercast, flash light pool

Wear layers in the IVEnv materials: a dark damp band 20-45 cm up every wall
foot with a tide line and splashed mud, green-black run-off streaks, grime
blotches, chipped paint with bare wood or rusty steel under it, rust runs on
metal, silvered and rotted timber, scuffed floorboards with dirt in the gaps,
stained plaster, mottled sandbags. Trodden mud (ground marks) at doorways,
gates and firing points; churned lane middles darker and wetter; marks reset
per level.

Night: a stronger cool moon key with shadows, a paler horizon band, a soft
edge light on soldiers (IVEnv.rimPatch, hooked from chars.js prepMaterial),
a little lit haze round lamps, lamps falling off inside rooms, Low's ground
and moon sheen darker. Day: more sky and ground bounce in the shade, drifting
patches where the sun breaks through, more colour. Two flash lights on
Medium and High. Look test: dark-field guards at 30 and 40 m, wall foot and
surface close-ups, a governor step-down test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DfCR7RPoK1UNAvb7iRuPWn
…; open-field guard views

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DfCR7RPoK1UNAvb7iRuPWn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM93u11Jxws3xZJdCv5
…, brighter overcast shade, wet puddles at night, warmer rooms at night

- world reset clears water areas and the vegetation cull list again between levels (a comment had swallowed them)
- the moon or sun shadow switches with the weather again (also swallowed by a comment)
- Boot Camp: more sky fill and a softer day curve so shaded walls and grass keep their detail; cooler sun, darker cloud
- dry daytime ground no longer turns to an oily sheen toward the low sun
- Night Drop: standing water mirrors the night sky enough to read as water; rooms keep a little warm light at night
- rust and chipped paint on metal toned down (poles had read as striped)
- stronger damp band and mud splash at wall feet
- look test: the open-field guard views now have field and hedge behind the guard, not the lit farmhouse

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM93u11Jxws3xZJdCv5
…tes brought up to date

- Low skips the new wear layers, two extra texture reads at wall feet, the lamp-in-puddle loop and the per-window
  room light (one flat room fill instead); measured back to back with main, Low frame time is the same
- README: the key-light numbers, the room fill, dirt marks, wear layers, rim light, lamp haze, flash light pool and
  the new look-test views

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM93u11Jxws3xZJdCv5
…ared env/core.js into env/rooms.js

env/core.js is shared with Ironwing, so its only changes are now inside the material function Ironwing never calls;
the uniforms, the window-portal updater, IVEnv.interiorPatch, IVEnv.rimPatch and the wear recipe flags live in a new
Midnight Ops-only file loaded after it (game page, env test, chars test). The look test's governor check feeds its
70 ms frames in real time so the governor actually steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM93u11Jxws3xZJdCv5
… sun glow

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM93u11Jxws3xZJdCv5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM93u11Jxws3xZJdCv5
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

👷 Deploy request for ascoding11 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 8c5ddb5

@netlify

netlify Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

👷 Deploy request for cosmic-dasik-e73c56 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 8c5ddb5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ASCoding11
ASCoding11 merged commit 90d169c into ASCoding11:main Nov 26, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants